package com.csnf.student.serive;

import com.csnf.student.Dao.StudentDao;
import com.csnf.student.entity.Student;
import java.util.List;

public class StudentService {
    private StudentDao studentDAO = new StudentDao();
    public List<Student> getStudentsByPage(int pageNum) {
        return studentDAO.getStudentsByPage(pageNum);
    }
    public int getTotalCount() {
        return studentDAO.getTotalCount();
    }
}
